#!/bin/sh
. /lib/functions/nvram2uci.sh

local upnp_enable

upnp_enable=`nvram get linux upnp_enabled 2>/dev/null`

if [ -n "$upnp_enable" ]; then
	nvram2uci upnp_enabled UPnP.config.enable
fi
